package com.tencreat.domain.mall.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tencreat.common.core.domain.dto.BasePageEntityDTO;
import com.tencreat.common.enums.AfterSaleStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * 售后对象 mall_aftersale
 *
 * @author tencreat
 * @date 2021-08-19
 */
@Data

public class MallAdminAfterSaleDTO extends BasePageEntityDTO {

    @ApiModelProperty(value= "订单编号")
    private String orderSn;

    @ApiModelProperty(value= "用户ID")
    private Long userId;

    @ApiModelProperty(value= "用户手机号")
    private String mobile;

    @ApiModelProperty("商品ID")
    private Long goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("供应商名称")
    private String supplierName;

    @ApiModelProperty("订单状态")
    private Integer orderStatus;

    @ApiModelProperty("售后状态")
    private  Integer afterSaleStatus;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty("退款类型")
    private Integer type;

    @ApiModelProperty("售后类型 0|待处理 1|退货中 2|已完成 3|已拒绝 ")
    private Integer afterSaleType;



}
